import { useContext } from 'react';

import { UserContext } from '../context/user';

/**
 * 当前用户状态
 */
const useUser = () => useContext(UserContext);
export { useUser };
